package com.bingo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bingo.common.R;
import com.bingo.entity.Immunization;
import com.bingo.entity.Medication;
import com.bingo.entity.dto.resp.ImmunizationRecord;

import java.sql.Date;
import java.util.List;

public interface ImmunizationService extends IService<Immunization> {
    //新增防疫记录
    R add(Immunization immunization);
    //查询防疫记录
    List<ImmunizationRecord> selectImmunizationRecord(List<String> poolNos, Date startTime, Date endTime, String userId);
    boolean deleteImmunizationRecord(Immunization immunization);
    //修改防疫记录
    boolean update(Immunization immunization);
}
